#pragma once

typedef struct _CVertex
{
	float x, y, z;
	DWORD Color;
} CVertex;

typedef struct _GlobalVariables
{
	LPDIRECT3D9 pD3I;
	LPDIRECT3DDEVICE9 pD3Device;
	LPDIRECT3DVERTEXBUFFER9 vBuffer;
	CVertex Figure;
} GlobalVariables;

extern GlobalVariables GV;